/**
 * Created by Taow on 2017/10/23.
 */
import Vue from 'vue'
import VueResource from 'vue-resource';
Vue.use(VueResource);

export default {
  /***
   * 分页获取会员位置
   */
  getMemberLocation(pageNum,pageSize,memberName){
    return Vue.http.get("/aiqiangua/m/memberlocation/"+pageNum+'/'+pageSize+'?memberName='+memberName);
  },

  /***
   *获取会员的最新地理位置
   */
  getMemberNewLoc(deviceId){
    return Vue.http.get("/aiqiangua/m/location/"+deviceId);
  },
}
